<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>


			<div id="create">		
				<table>
				 	<c:forEach var="prop" items="${props}" >
						<tr>
							<td>${prop.key} :</td>
							<c:choose>
								<c:when test="${prop.value=='Date'}" >
									<script>
										$(function() {
											$( "#datepicker" ).datepicker();
										});
									</script>
								  	<td><input id="datepicker" type="text" name="${prop.key}" /></td>
								</c:when>
								<c:otherwise>
									<td><input type="text" name="${prop.key}" /></td>
								</c:otherwise>
							</c:choose>
						</tr>
					</c:forEach>	
				</table>
			</div>	
				
